<!-- deleteSomeData.html -->
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
		<meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
		<title>删除页</title>
		<link rel="stylesheet" href="../../css/weui.min.css">
		<link rel="stylesheet" href="../../css/base.css"/>
		<link rel="stylesheet" href="../../css/CFNetPP_Base.css">
		<style type="text/css">
			html,body{
				background-color: rgba(0,0,0,0);
			}
			a:active{
				border-radius: 10px;
			}
		</style>
	</head>
	<body>
		<div id="offlineAlert" class="weui_dialog_confirm">
            <div class="weui_mask"></div>
            <div class="weui_dialog">
                <div class="weui_dialog_hd">
                    <strong id="delete_content" class="weui_dialog_title"></strong>
                </div>
                <div class="weui_dialog_bd"></div>
                <div class="weui_dialog_ft">
                    <a onclick="cleanCancel()" href="#" class="weui_btn_dialog default">取消</a>
                    <a onclick="cleanConfirm()" href="#" class="weui_btn_dialog primary"  style="color:#18b4ed">确定</a>
                </div>
            </div>
        </div>
	</body>
	<script type="text/javascript" src="../../script/jquery.min.js"></script>
	<script type="text/javascript" src="../../script/api.js"></script>
	<script type="text/javascript">
		apiready = function(){
		    setupDeleteContent();
		}
		function setupDeleteContent(){
			$('#delete_content').text(api.pageParam.deletecontent);
		}
		function cleanCancel(){
			api.closeFrame({
			    name: 'deleteSomeData'
			});
		}
		function cleanConfirm(){
			api.sendEvent({
			    name: 'sureRemoveNotifi',
			    extra: api.pageParam
			});
			api.closeFrame({
			    name: 'deleteSomeData'
			});
		}
	</script>
</html>